package com.ioc.business.order.domain.bo.plan.arrival.item;

import com.ioc.common.validate.AddGroup;
import com.ioc.common.validate.EditGroup;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 * 计划到货订单项表
 * </p>
 *
 * @author WeiZhongRong
 * @since 2025-01-08
 */
@Data
public class PlanArrivalOrderItemBo {
    /**
     * 客户Id
     */
    @NotBlank(message = "客户Id不能为空", groups = {AddGroup.class, EditGroup.class})
    private Long customerId;

    /**
     * 客户名称
     */
    @NotBlank(message = "客户名称不能为空", groups = {AddGroup.class, EditGroup.class})
    private String customerName;

    /**
     * 订单数
     */
    @NotBlank(message = "订单数不能为空", groups = {AddGroup.class, EditGroup.class})
    private String orderNum;

}
